package com.hgw.Demo04_CreateInterator.Exercises19_8_4;

/**
 * Data time:2021/12/18 13:50
 * StudentID:2019112118
 * Author:hgw
 * Description: 电视台类，充当附加类
 */
public class TC {
    private String Sid;
    private String name;

    public TC(String sid, String name) {
        Sid = sid;
        this.name = name;
    }

    public String getSid() {
        return Sid;
    }

    public void setSid(String sid) {
        Sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "TC{" +
                "频道='" + Sid + '\'' +
                ", 电视台名称='" + name + '\'' +
                '}';
    }
}
